package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.FacilityAppendix;
import com.leadingsoft.pwxk.repository.FacilityAppendixRepository;
import com.leadingsoft.pwxk.services.AbstractService;

@Service
public class FacilityAppendixServiceImpl extends AbstractService<FacilityAppendix> {

	FacilityAppendixRepository facilityAppendixRepository;

	@Override
	public void saveAll(List<FacilityAppendix> models) {
		facilityAppendixRepository.saveAll(models);
	}

	@Override
	public void deleteAll() {
		facilityAppendixRepository.deleteAll();
	}

	@Override
	public void save(FacilityAppendix model) {
		facilityAppendixRepository.save(model);
	}

}
